package com.tong.embeddedvr.utils;

import ch.ethz.ssh2.Connection;
import com.tong.embeddedvr.entity.HostEntity;

public class ShellUtil {

    public static Connection connect(HostEntity hostEntity) throws Exception {
        Connection connection = new Connection(hostEntity.getHostIp());
        connection.connect();
        return connection;
    }

}
